#include "Col.ph"
#ifdef __GNUG__
#pragma implementation
#endif

#include "System.h"
#include "Directory.h"

//---- Directory ---------------------------------------------------------------

Directory::Directory(const char *path)
{
	dirp= gSystem->MakeDirectory(path);
}

Directory::~Directory()
{
	gSystem->FreeDirectory(dirp);
}

const char *Directory::operator()()
{
	return gSystem->GetDirEntry(dirp);
}
